﻿

import java.util.Scanner;

public class buyaowen{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		System.out.println("请输入一个年份");
			int nian =input.nextInt();
			if (nian%4==0&&nian%100!=0||nian%400==0){
				System.out.println("闰年");
			}else{
				System.out.println("平年");
			}
			
	}
}